package com.ycyun.admin.service;

import com.ycyun.admin.dao.UserDao;
import com.ycyun.admin.dto.UserDto;
import com.ycyun.admin.model.SysUser;

/**
 * @Author: 哦谢特谢特
 * @Date: 2018/5/18 15:41
 * @Description:
 */
public interface UserService {

    SysUser saveUser(UserDto userDto);

    SysUser updateUser(UserDto userDto);

    SysUser getUser(String username);

    void changePassword(String username, String oldPassword, String newPassword);

}
